package com.example.onlinemonitoring.model;

import com.example.onlinemonitoring.model.common.sensor;
import java.util.Date;
import javax.persistence.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.example.onlinemonitoring.AOP.Float2Serializer;

public class Oilwlsensor extends sensor {
    /**
     * 主键，自动增长。变压器数据库内编号。
     */
    @Id
    private Long id;

    private Integer transformergroupid;

    /**
     * 所属变电站的编号。外键，指向staion的主键id。
     */
    private Integer stationid;

    /**
     * 设备组
     */
    private Integer devicegroup;

    /**
     * 设备地址
     */
    private Integer deviceaddr;

    /**
     * 称名
     */
    private String pointname;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lasth2;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastco;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastco2;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastch4;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastn2;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastc2h4;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastc2h2;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastc2h6;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lasto2;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lasttothyd;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastpressure;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lasttemperature;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lasttemperaturectrl1;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lasttemperaturectrl2;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastgascontent;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lasth2o;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastppm;

    @JsonSerialize(using = Float2Serializer.class)
    private Float lastoiltemp;

    @JsonSerialize(using = Float2Serializer.class)
    private Float ppmalarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float ppmalarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float ppmwarnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float ppmwarnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float pressurealarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float pressurealarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float pressurewarnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float pressurewarnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float gascontentalarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float gascontentalarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float gascontentwarnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float gascontentwarnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float temperaturealarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float temperaturealarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float temperaturewarnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float temperaturewarnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float tothydalarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float tothydalarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float tothydwarnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float tothydwarnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h6alarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h6alarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h6warnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h6warnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h2alarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h2alarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h2warnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h2warnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h4alarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h4alarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h4warnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float c2h4warnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float ch4alarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float ch4alarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float ch4warnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float ch4warnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float co2warnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float co2alarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float co2alarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float co2warnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float cowarnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float cowarnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float coalarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float coalarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float h2warnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float h2warnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float h2alarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float h2alarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float n2warnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float n2warnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float n2alarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float n2alarmrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float o2warnvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float o2warnrelievevalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float o2alarmvalue;

    @JsonSerialize(using = Float2Serializer.class)
    private Float o2alarmrelievevalue;

    /**
     * 上次测量的时间。
     */
    private Date lastdatatime;

    private Date lasthisdatatime;

    /**
     * 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    private Integer lastcommunicationstatus;

    private String lastalarmmessage;

    /**
     * 报警等级。最新一条数据。
     */
    private Integer lastalarmlevel;

    /**
     * 最近一次温度报警状态：0正常 1预警 2报警
     */
    private Integer lastppmalarmstatus;

    /**
     * 最近一次温度报警状态：0正常 1预警 2报警
     */
    private Integer lasth2alarmstatus;

    /**
     * 最近一次温度报警状态：0正常 1预警 2报警
     */
    private Integer lasto2alarmstatus;

    /**
     * 最近一次温度报警状态：0正常 1预警 2报警
     */
    private Integer lastn2alarmstatus;

    /**
     * 最近一次温度报警状态：0正常 1预警 2报警
     */
    private Integer lastch4alarmstatus;

    /**
     * 最近一次温度报警状态：0正常 1预警 2报警
     */
    private Integer lastc2h2alarmstatus;

    /**
     * 最近一次温度报警状态：0正常 1预警 2报警
     */
    private Integer lastc2h4alarmstatus;

    private Integer lastc2h6alarmstatus;

    private Integer lastcoalarmstatus;

    /**
     * 最近一次温度报警状态：0正常 1预警 2报警
     */
    private Integer lastco2alarmstatus;

    private Integer lasttothydalarmstatus;

    private String memo;

    /**
     * 字段的显示和隐藏
     */
    private String style;
    public String getStyle61850() {
        return style61850;
    }

    public void setStyle61850(String style61850) {
        this.style61850 = style61850;
    }

    private String style61850;
    /**
     * 否是投运
     */
    private Integer inuse;

    /**
     * 获取主键，自动增长。变压器数据库内编号。
     *
     * @return id - 主键，自动增长。变压器数据库内编号。
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置主键，自动增长。变压器数据库内编号。
     *
     * @param id 主键，自动增长。变压器数据库内编号。
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return transformergroupid
     */
    public Integer getTransformergroupid() {
        return transformergroupid;
    }

    /**
     * @param transformergroupid
     */
    public void setTransformergroupid(Integer transformergroupid) {
        this.transformergroupid = transformergroupid;
    }

    /**
     * 获取所属变电站的编号。外键，指向staion的主键id。
     *
     * @return stationid - 所属变电站的编号。外键，指向staion的主键id。
     */
    public Integer getStationid() {
        return stationid;
    }

    /**
     * 设置所属变电站的编号。外键，指向staion的主键id。
     *
     * @param stationid 所属变电站的编号。外键，指向staion的主键id。
     */
    public void setStationid(Integer stationid) {
        this.stationid = stationid;
    }

    /**
     * 获取设备组
     *
     * @return devicegroup - 设备组
     */
    public Integer getDevicegroup() {
        return devicegroup;
    }

    /**
     * 设置设备组
     *
     * @param devicegroup 设备组
     */
    public void setDevicegroup(Integer devicegroup) {
        this.devicegroup = devicegroup;
    }

    /**
     * 获取设备地址
     *
     * @return deviceaddr - 设备地址
     */
    public Integer getDeviceaddr() {
        return deviceaddr;
    }

    /**
     * 设置设备地址
     *
     * @param deviceaddr 设备地址
     */
    public void setDeviceaddr(Integer deviceaddr) {
        this.deviceaddr = deviceaddr;
    }

    /**
     * 获取称名
     *
     * @return pointname - 称名
     */
    public String getPointname() {
        return pointname;
    }

    /**
     * 设置称名
     *
     * @param pointname 称名
     */
    public void setPointname(String pointname) {
        this.pointname = pointname;
    }

    /**
     * @return lasth2
     */
    public Float getLasth2() {
        return lasth2;
    }

    /**
     * @param lasth2
     */
    public void setLasth2(Float lasth2) {
        this.lasth2 = lasth2;
    }

    /**
     * @return lastco
     */
    public Float getLastco() {
        return lastco;
    }

    /**
     * @param lastco
     */
    public void setLastco(Float lastco) {
        this.lastco = lastco;
    }

    /**
     * @return lastco2
     */
    public Float getLastco2() {
        return lastco2;
    }

    /**
     * @param lastco2
     */
    public void setLastco2(Float lastco2) {
        this.lastco2 = lastco2;
    }

    /**
     * @return lastch4
     */
    public Float getLastch4() {
        return lastch4;
    }

    /**
     * @param lastch4
     */
    public void setLastch4(Float lastch4) {
        this.lastch4 = lastch4;
    }

    /**
     * @return lastn2
     */
    public Float getLastn2() {
        return lastn2;
    }

    /**
     * @param lastn2
     */
    public void setLastn2(Float lastn2) {
        this.lastn2 = lastn2;
    }

    /**
     * @return lastc2h4
     */
    public Float getLastc2h4() {
        return lastc2h4;
    }

    /**
     * @param lastc2h4
     */
    public void setLastc2h4(Float lastc2h4) {
        this.lastc2h4 = lastc2h4;
    }

    /**
     * @return lastc2h2
     */
    public Float getLastc2h2() {
        return lastc2h2;
    }

    /**
     * @param lastc2h2
     */
    public void setLastc2h2(Float lastc2h2) {
        this.lastc2h2 = lastc2h2;
    }

    /**
     * @return lastc2h6
     */
    public Float getLastc2h6() {
        return lastc2h6;
    }

    /**
     * @param lastc2h6
     */
    public void setLastc2h6(Float lastc2h6) {
        this.lastc2h6 = lastc2h6;
    }

    /**
     * @return lasto2
     */
    public Float getLasto2() {
        return lasto2;
    }

    /**
     * @param lasto2
     */
    public void setLasto2(Float lasto2) {
        this.lasto2 = lasto2;
    }

    /**
     * @return lasttothyd
     */
    public Float getLasttothyd() {
        return lasttothyd;
    }

    /**
     * @param lasttothyd
     */
    public void setLasttothyd(Float lasttothyd) {
        this.lasttothyd = lasttothyd;
    }

    /**
     * @return lastpressure
     */
    public Float getLastpressure() {
        return lastpressure;
    }

    /**
     * @param lastpressure
     */
    public void setLastpressure(Float lastpressure) {
        this.lastpressure = lastpressure;
    }

    /**
     * @return lasttemperature
     */
    public Float getLasttemperature() {
        return lasttemperature;
    }

    /**
     * @param lasttemperature
     */
    public void setLasttemperature(Float lasttemperature) {
        this.lasttemperature = lasttemperature;
    }

    /**
     * @return lasttemperaturectrl1
     */
    public Float getLasttemperaturectrl1() {
        return lasttemperaturectrl1;
    }

    /**
     * @param lasttemperaturectrl1
     */
    public void setLasttemperaturectrl1(Float lasttemperaturectrl1) {
        this.lasttemperaturectrl1 = lasttemperaturectrl1;
    }

    /**
     * @return lasttemperaturectrl2
     */
    public Float getLasttemperaturectrl2() {
        return lasttemperaturectrl2;
    }

    /**
     * @param lasttemperaturectrl2
     */
    public void setLasttemperaturectrl2(Float lasttemperaturectrl2) {
        this.lasttemperaturectrl2 = lasttemperaturectrl2;
    }

    /**
     * @return lastgascontent
     */
    public Float getLastgascontent() {
        return lastgascontent;
    }

    /**
     * @param lastgascontent
     */
    public void setLastgascontent(Float lastgascontent) {
        this.lastgascontent = lastgascontent;
    }

    /**
     * @return lasth2o
     */
    public Float getLasth2o() {
        return lasth2o;
    }

    /**
     * @param lasth2o
     */
    public void setLasth2o(Float lasth2o) {
        this.lasth2o = lasth2o;
    }

    /**
     * @return lastppm
     */
    public Float getLastppm() {
        return lastppm;
    }

    /**
     * @param lastppm
     */
    public void setLastppm(Float lastppm) {
        this.lastppm = lastppm;
    }

    /**
     * @return lastoiltemp
     */
    public Float getLastoiltemp() {
        return lastoiltemp;
    }

    /**
     * @param lastoiltemp
     */
    public void setLastoiltemp(Float lastoiltemp) {
        this.lastoiltemp = lastoiltemp;
    }

    /**
     * @return ppmalarmrelievevalue
     */
    public Float getPpmalarmrelievevalue() {
        return ppmalarmrelievevalue;
    }

    /**
     * @param ppmalarmrelievevalue
     */
    public void setPpmalarmrelievevalue(Float ppmalarmrelievevalue) {
        this.ppmalarmrelievevalue = ppmalarmrelievevalue;
    }

    /**
     * @return ppmalarmvalue
     */
    public Float getPpmalarmvalue() {
        return ppmalarmvalue;
    }

    /**
     * @param ppmalarmvalue
     */
    public void setPpmalarmvalue(Float ppmalarmvalue) {
        this.ppmalarmvalue = ppmalarmvalue;
    }

    /**
     * @return ppmwarnrelievevalue
     */
    public Float getPpmwarnrelievevalue() {
        return ppmwarnrelievevalue;
    }

    /**
     * @param ppmwarnrelievevalue
     */
    public void setPpmwarnrelievevalue(Float ppmwarnrelievevalue) {
        this.ppmwarnrelievevalue = ppmwarnrelievevalue;
    }

    /**
     * @return ppmwarnvalue
     */
    public Float getPpmwarnvalue() {
        return ppmwarnvalue;
    }

    /**
     * @param ppmwarnvalue
     */
    public void setPpmwarnvalue(Float ppmwarnvalue) {
        this.ppmwarnvalue = ppmwarnvalue;
    }

    /**
     * @return pressurealarmrelievevalue
     */
    public Float getPressurealarmrelievevalue() {
        return pressurealarmrelievevalue;
    }

    /**
     * @param pressurealarmrelievevalue
     */
    public void setPressurealarmrelievevalue(Float pressurealarmrelievevalue) {
        this.pressurealarmrelievevalue = pressurealarmrelievevalue;
    }

    /**
     * @return pressurealarmvalue
     */
    public Float getPressurealarmvalue() {
        return pressurealarmvalue;
    }

    /**
     * @param pressurealarmvalue
     */
    public void setPressurealarmvalue(Float pressurealarmvalue) {
        this.pressurealarmvalue = pressurealarmvalue;
    }

    /**
     * @return pressurewarnrelievevalue
     */
    public Float getPressurewarnrelievevalue() {
        return pressurewarnrelievevalue;
    }

    /**
     * @param pressurewarnrelievevalue
     */
    public void setPressurewarnrelievevalue(Float pressurewarnrelievevalue) {
        this.pressurewarnrelievevalue = pressurewarnrelievevalue;
    }

    /**
     * @return pressurewarnvalue
     */
    public Float getPressurewarnvalue() {
        return pressurewarnvalue;
    }

    /**
     * @param pressurewarnvalue
     */
    public void setPressurewarnvalue(Float pressurewarnvalue) {
        this.pressurewarnvalue = pressurewarnvalue;
    }

    /**
     * @return gascontentalarmrelievevalue
     */
    public Float getGascontentalarmrelievevalue() {
        return gascontentalarmrelievevalue;
    }

    /**
     * @param gascontentalarmrelievevalue
     */
    public void setGascontentalarmrelievevalue(Float gascontentalarmrelievevalue) {
        this.gascontentalarmrelievevalue = gascontentalarmrelievevalue;
    }

    /**
     * @return gascontentalarmvalue
     */
    public Float getGascontentalarmvalue() {
        return gascontentalarmvalue;
    }

    /**
     * @param gascontentalarmvalue
     */
    public void setGascontentalarmvalue(Float gascontentalarmvalue) {
        this.gascontentalarmvalue = gascontentalarmvalue;
    }

    /**
     * @return gascontentwarnrelievevalue
     */
    public Float getGascontentwarnrelievevalue() {
        return gascontentwarnrelievevalue;
    }

    /**
     * @param gascontentwarnrelievevalue
     */
    public void setGascontentwarnrelievevalue(Float gascontentwarnrelievevalue) {
        this.gascontentwarnrelievevalue = gascontentwarnrelievevalue;
    }

    /**
     * @return gascontentwarnvalue
     */
    public Float getGascontentwarnvalue() {
        return gascontentwarnvalue;
    }

    /**
     * @param gascontentwarnvalue
     */
    public void setGascontentwarnvalue(Float gascontentwarnvalue) {
        this.gascontentwarnvalue = gascontentwarnvalue;
    }

    /**
     * @return temperaturealarmrelievevalue
     */
    public Float getTemperaturealarmrelievevalue() {
        return temperaturealarmrelievevalue;
    }

    /**
     * @param temperaturealarmrelievevalue
     */
    public void setTemperaturealarmrelievevalue(Float temperaturealarmrelievevalue) {
        this.temperaturealarmrelievevalue = temperaturealarmrelievevalue;
    }

    /**
     * @return temperaturealarmvalue
     */
    public Float getTemperaturealarmvalue() {
        return temperaturealarmvalue;
    }

    /**
     * @param temperaturealarmvalue
     */
    public void setTemperaturealarmvalue(Float temperaturealarmvalue) {
        this.temperaturealarmvalue = temperaturealarmvalue;
    }

    /**
     * @return temperaturewarnrelievevalue
     */
    public Float getTemperaturewarnrelievevalue() {
        return temperaturewarnrelievevalue;
    }

    /**
     * @param temperaturewarnrelievevalue
     */
    public void setTemperaturewarnrelievevalue(Float temperaturewarnrelievevalue) {
        this.temperaturewarnrelievevalue = temperaturewarnrelievevalue;
    }

    /**
     * @return temperaturewarnvalue
     */
    public Float getTemperaturewarnvalue() {
        return temperaturewarnvalue;
    }

    /**
     * @param temperaturewarnvalue
     */
    public void setTemperaturewarnvalue(Float temperaturewarnvalue) {
        this.temperaturewarnvalue = temperaturewarnvalue;
    }

    /**
     * @return tothydalarmrelievevalue
     */
    public Float getTothydalarmrelievevalue() {
        return tothydalarmrelievevalue;
    }

    /**
     * @param tothydalarmrelievevalue
     */
    public void setTothydalarmrelievevalue(Float tothydalarmrelievevalue) {
        this.tothydalarmrelievevalue = tothydalarmrelievevalue;
    }

    /**
     * @return tothydalarmvalue
     */
    public Float getTothydalarmvalue() {
        return tothydalarmvalue;
    }

    /**
     * @param tothydalarmvalue
     */
    public void setTothydalarmvalue(Float tothydalarmvalue) {
        this.tothydalarmvalue = tothydalarmvalue;
    }

    /**
     * @return tothydwarnrelievevalue
     */
    public Float getTothydwarnrelievevalue() {
        return tothydwarnrelievevalue;
    }

    /**
     * @param tothydwarnrelievevalue
     */
    public void setTothydwarnrelievevalue(Float tothydwarnrelievevalue) {
        this.tothydwarnrelievevalue = tothydwarnrelievevalue;
    }

    /**
     * @return tothydwarnvalue
     */
    public Float getTothydwarnvalue() {
        return tothydwarnvalue;
    }

    /**
     * @param tothydwarnvalue
     */
    public void setTothydwarnvalue(Float tothydwarnvalue) {
        this.tothydwarnvalue = tothydwarnvalue;
    }

    /**
     * @return c2h6alarmrelievevalue
     */
    public Float getC2h6alarmrelievevalue() {
        return c2h6alarmrelievevalue;
    }

    /**
     * @param c2h6alarmrelievevalue
     */
    public void setC2h6alarmrelievevalue(Float c2h6alarmrelievevalue) {
        this.c2h6alarmrelievevalue = c2h6alarmrelievevalue;
    }

    /**
     * @return c2h6alarmvalue
     */
    public Float getC2h6alarmvalue() {
        return c2h6alarmvalue;
    }

    /**
     * @param c2h6alarmvalue
     */
    public void setC2h6alarmvalue(Float c2h6alarmvalue) {
        this.c2h6alarmvalue = c2h6alarmvalue;
    }

    /**
     * @return c2h6warnrelievevalue
     */
    public Float getC2h6warnrelievevalue() {
        return c2h6warnrelievevalue;
    }

    /**
     * @param c2h6warnrelievevalue
     */
    public void setC2h6warnrelievevalue(Float c2h6warnrelievevalue) {
        this.c2h6warnrelievevalue = c2h6warnrelievevalue;
    }

    /**
     * @return c2h6warnvalue
     */
    public Float getC2h6warnvalue() {
        return c2h6warnvalue;
    }

    /**
     * @param c2h6warnvalue
     */
    public void setC2h6warnvalue(Float c2h6warnvalue) {
        this.c2h6warnvalue = c2h6warnvalue;
    }

    /**
     * @return c2h2alarmrelievevalue
     */
    public Float getC2h2alarmrelievevalue() {
        return c2h2alarmrelievevalue;
    }

    /**
     * @param c2h2alarmrelievevalue
     */
    public void setC2h2alarmrelievevalue(Float c2h2alarmrelievevalue) {
        this.c2h2alarmrelievevalue = c2h2alarmrelievevalue;
    }

    /**
     * @return c2h2alarmvalue
     */
    public Float getC2h2alarmvalue() {
        return c2h2alarmvalue;
    }

    /**
     * @param c2h2alarmvalue
     */
    public void setC2h2alarmvalue(Float c2h2alarmvalue) {
        this.c2h2alarmvalue = c2h2alarmvalue;
    }

    /**
     * @return c2h2warnrelievevalue
     */
    public Float getC2h2warnrelievevalue() {
        return c2h2warnrelievevalue;
    }

    /**
     * @param c2h2warnrelievevalue
     */
    public void setC2h2warnrelievevalue(Float c2h2warnrelievevalue) {
        this.c2h2warnrelievevalue = c2h2warnrelievevalue;
    }

    /**
     * @return c2h2warnvalue
     */
    public Float getC2h2warnvalue() {
        return c2h2warnvalue;
    }

    /**
     * @param c2h2warnvalue
     */
    public void setC2h2warnvalue(Float c2h2warnvalue) {
        this.c2h2warnvalue = c2h2warnvalue;
    }

    /**
     * @return c2h4alarmrelievevalue
     */
    public Float getC2h4alarmrelievevalue() {
        return c2h4alarmrelievevalue;
    }

    /**
     * @param c2h4alarmrelievevalue
     */
    public void setC2h4alarmrelievevalue(Float c2h4alarmrelievevalue) {
        this.c2h4alarmrelievevalue = c2h4alarmrelievevalue;
    }

    /**
     * @return c2h4alarmvalue
     */
    public Float getC2h4alarmvalue() {
        return c2h4alarmvalue;
    }

    /**
     * @param c2h4alarmvalue
     */
    public void setC2h4alarmvalue(Float c2h4alarmvalue) {
        this.c2h4alarmvalue = c2h4alarmvalue;
    }

    /**
     * @return c2h4warnrelievevalue
     */
    public Float getC2h4warnrelievevalue() {
        return c2h4warnrelievevalue;
    }

    /**
     * @param c2h4warnrelievevalue
     */
    public void setC2h4warnrelievevalue(Float c2h4warnrelievevalue) {
        this.c2h4warnrelievevalue = c2h4warnrelievevalue;
    }

    /**
     * @return c2h4warnvalue
     */
    public Float getC2h4warnvalue() {
        return c2h4warnvalue;
    }

    /**
     * @param c2h4warnvalue
     */
    public void setC2h4warnvalue(Float c2h4warnvalue) {
        this.c2h4warnvalue = c2h4warnvalue;
    }

    /**
     * @return ch4alarmrelievevalue
     */
    public Float getCh4alarmrelievevalue() {
        return ch4alarmrelievevalue;
    }

    /**
     * @param ch4alarmrelievevalue
     */
    public void setCh4alarmrelievevalue(Float ch4alarmrelievevalue) {
        this.ch4alarmrelievevalue = ch4alarmrelievevalue;
    }

    /**
     * @return ch4alarmvalue
     */
    public Float getCh4alarmvalue() {
        return ch4alarmvalue;
    }

    /**
     * @param ch4alarmvalue
     */
    public void setCh4alarmvalue(Float ch4alarmvalue) {
        this.ch4alarmvalue = ch4alarmvalue;
    }

    /**
     * @return ch4warnrelievevalue
     */
    public Float getCh4warnrelievevalue() {
        return ch4warnrelievevalue;
    }

    /**
     * @param ch4warnrelievevalue
     */
    public void setCh4warnrelievevalue(Float ch4warnrelievevalue) {
        this.ch4warnrelievevalue = ch4warnrelievevalue;
    }

    /**
     * @return ch4warnvalue
     */
    public Float getCh4warnvalue() {
        return ch4warnvalue;
    }

    /**
     * @param ch4warnvalue
     */
    public void setCh4warnvalue(Float ch4warnvalue) {
        this.ch4warnvalue = ch4warnvalue;
    }

    /**
     * @return co2warnrelievevalue
     */
    public Float getCo2warnrelievevalue() {
        return co2warnrelievevalue;
    }

    /**
     * @param co2warnrelievevalue
     */
    public void setCo2warnrelievevalue(Float co2warnrelievevalue) {
        this.co2warnrelievevalue = co2warnrelievevalue;
    }

    /**
     * @return co2alarmrelievevalue
     */
    public Float getCo2alarmrelievevalue() {
        return co2alarmrelievevalue;
    }

    /**
     * @param co2alarmrelievevalue
     */
    public void setCo2alarmrelievevalue(Float co2alarmrelievevalue) {
        this.co2alarmrelievevalue = co2alarmrelievevalue;
    }

    /**
     * @return co2alarmvalue
     */
    public Float getCo2alarmvalue() {
        return co2alarmvalue;
    }

    /**
     * @param co2alarmvalue
     */
    public void setCo2alarmvalue(Float co2alarmvalue) {
        this.co2alarmvalue = co2alarmvalue;
    }

    /**
     * @return co2warnvalue
     */
    public Float getCo2warnvalue() {
        return co2warnvalue;
    }

    /**
     * @param co2warnvalue
     */
    public void setCo2warnvalue(Float co2warnvalue) {
        this.co2warnvalue = co2warnvalue;
    }

    /**
     * @return cowarnvalue
     */
    public Float getCowarnvalue() {
        return cowarnvalue;
    }

    /**
     * @param cowarnvalue
     */
    public void setCowarnvalue(Float cowarnvalue) {
        this.cowarnvalue = cowarnvalue;
    }

    /**
     * @return cowarnrelievevalue
     */
    public Float getCowarnrelievevalue() {
        return cowarnrelievevalue;
    }

    /**
     * @param cowarnrelievevalue
     */
    public void setCowarnrelievevalue(Float cowarnrelievevalue) {
        this.cowarnrelievevalue = cowarnrelievevalue;
    }

    /**
     * @return coalarmvalue
     */
    public Float getCoalarmvalue() {
        return coalarmvalue;
    }

    /**
     * @param coalarmvalue
     */
    public void setCoalarmvalue(Float coalarmvalue) {
        this.coalarmvalue = coalarmvalue;
    }

    /**
     * @return coalarmrelievevalue
     */
    public Float getCoalarmrelievevalue() {
        return coalarmrelievevalue;
    }

    /**
     * @param coalarmrelievevalue
     */
    public void setCoalarmrelievevalue(Float coalarmrelievevalue) {
        this.coalarmrelievevalue = coalarmrelievevalue;
    }

    /**
     * @return h2warnvalue
     */
    public Float getH2warnvalue() {
        return h2warnvalue;
    }

    /**
     * @param h2warnvalue
     */
    public void setH2warnvalue(Float h2warnvalue) {
        this.h2warnvalue = h2warnvalue;
    }

    /**
     * @return h2warnrelievevalue
     */
    public Float getH2warnrelievevalue() {
        return h2warnrelievevalue;
    }

    /**
     * @param h2warnrelievevalue
     */
    public void setH2warnrelievevalue(Float h2warnrelievevalue) {
        this.h2warnrelievevalue = h2warnrelievevalue;
    }

    /**
     * @return h2alarmvalue
     */
    public Float getH2alarmvalue() {
        return h2alarmvalue;
    }

    /**
     * @param h2alarmvalue
     */
    public void setH2alarmvalue(Float h2alarmvalue) {
        this.h2alarmvalue = h2alarmvalue;
    }

    /**
     * @return h2alarmrelievevalue
     */
    public Float getH2alarmrelievevalue() {
        return h2alarmrelievevalue;
    }

    /**
     * @param h2alarmrelievevalue
     */
    public void setH2alarmrelievevalue(Float h2alarmrelievevalue) {
        this.h2alarmrelievevalue = h2alarmrelievevalue;
    }

    /**
     * @return n2warnvalue
     */
    public Float getN2warnvalue() {
        return n2warnvalue;
    }

    /**
     * @param n2warnvalue
     */
    public void setN2warnvalue(Float n2warnvalue) {
        this.n2warnvalue = n2warnvalue;
    }

    /**
     * @return n2warnrelievevalue
     */
    public Float getN2warnrelievevalue() {
        return n2warnrelievevalue;
    }

    /**
     * @param n2warnrelievevalue
     */
    public void setN2warnrelievevalue(Float n2warnrelievevalue) {
        this.n2warnrelievevalue = n2warnrelievevalue;
    }

    /**
     * @return n2alarmvalue
     */
    public Float getN2alarmvalue() {
        return n2alarmvalue;
    }

    /**
     * @param n2alarmvalue
     */
    public void setN2alarmvalue(Float n2alarmvalue) {
        this.n2alarmvalue = n2alarmvalue;
    }

    /**
     * @return n2alarmrelievevalue
     */
    public Float getN2alarmrelievevalue() {
        return n2alarmrelievevalue;
    }

    /**
     * @param n2alarmrelievevalue
     */
    public void setN2alarmrelievevalue(Float n2alarmrelievevalue) {
        this.n2alarmrelievevalue = n2alarmrelievevalue;
    }

    /**
     * @return o2warnvalue
     */
    public Float getO2warnvalue() {
        return o2warnvalue;
    }

    /**
     * @param o2warnvalue
     */
    public void setO2warnvalue(Float o2warnvalue) {
        this.o2warnvalue = o2warnvalue;
    }

    /**
     * @return o2warnrelievevalue
     */
    public Float getO2warnrelievevalue() {
        return o2warnrelievevalue;
    }

    /**
     * @param o2warnrelievevalue
     */
    public void setO2warnrelievevalue(Float o2warnrelievevalue) {
        this.o2warnrelievevalue = o2warnrelievevalue;
    }

    /**
     * @return o2alarmvalue
     */
    public Float getO2alarmvalue() {
        return o2alarmvalue;
    }

    /**
     * @param o2alarmvalue
     */
    public void setO2alarmvalue(Float o2alarmvalue) {
        this.o2alarmvalue = o2alarmvalue;
    }

    /**
     * @return o2alarmrelievevalue
     */
    public Float getO2alarmrelievevalue() {
        return o2alarmrelievevalue;
    }

    /**
     * @param o2alarmrelievevalue
     */
    public void setO2alarmrelievevalue(Float o2alarmrelievevalue) {
        this.o2alarmrelievevalue = o2alarmrelievevalue;
    }

    /**
     * 获取上次测量的时间。
     *
     * @return lastdatatime - 上次测量的时间。
     */
    public Date getLastdatatime() {
        return lastdatatime;
    }

    /**
     * 设置上次测量的时间。
     *
     * @param lastdatatime 上次测量的时间。
     */
    public void setLastdatatime(Date lastdatatime) {
        this.lastdatatime = lastdatatime;
    }

    /**
     * @return lasthisdatatime
     */
    public Date getLasthisdatatime() {
        return lasthisdatatime;
    }

    /**
     * @param lasthisdatatime
     */
    public void setLasthisdatatime(Date lasthisdatatime) {
        this.lasthisdatatime = lasthisdatatime;
    }

    /**
     * 获取通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     *
     * @return lastcommunicationstatus - 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    public Integer getLastcommunicationstatus() {
        return lastcommunicationstatus;
    }

    /**
     * 设置通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     *
     * @param lastcommunicationstatus 通信状态。0表示正常，1表示异常。不论通信成功或者失败，都必须修改此值。
     */
    public void setLastcommunicationstatus(Integer lastcommunicationstatus) {
        this.lastcommunicationstatus = lastcommunicationstatus;
    }

    /**
     * @return lastalarmmessage
     */
    public String getLastalarmmessage() {
        return lastalarmmessage;
    }

    /**
     * @param lastalarmmessage
     */
    public void setLastalarmmessage(String lastalarmmessage) {
        this.lastalarmmessage = lastalarmmessage;
    }

    /**
     * 获取报警等级。最新一条数据。
     *
     * @return lastalarmlevel - 报警等级。最新一条数据。
     */
    public Integer getLastalarmlevel() {
        return lastalarmlevel;
    }

    /**
     * 设置报警等级。最新一条数据。
     *
     * @param lastalarmlevel 报警等级。最新一条数据。
     */
    public void setLastalarmlevel(Integer lastalarmlevel) {
        this.lastalarmlevel = lastalarmlevel;
    }

    /**
     * 获取最近一次温度报警状态：0正常 1预警 2报警
     *
     * @return lastppmalarmstatus - 最近一次温度报警状态：0正常 1预警 2报警
     */
    public Integer getLastppmalarmstatus() {
        return lastppmalarmstatus;
    }

    /**
     * 设置最近一次温度报警状态：0正常 1预警 2报警
     *
     * @param lastppmalarmstatus 最近一次温度报警状态：0正常 1预警 2报警
     */
    public void setLastppmalarmstatus(Integer lastppmalarmstatus) {
        this.lastppmalarmstatus = lastppmalarmstatus;
    }

    /**
     * 获取最近一次温度报警状态：0正常 1预警 2报警
     *
     * @return lasth2alarmstatus - 最近一次温度报警状态：0正常 1预警 2报警
     */
    public Integer getLasth2alarmstatus() {
        return lasth2alarmstatus;
    }

    /**
     * 设置最近一次温度报警状态：0正常 1预警 2报警
     *
     * @param lasth2alarmstatus 最近一次温度报警状态：0正常 1预警 2报警
     */
    public void setLasth2alarmstatus(Integer lasth2alarmstatus) {
        this.lasth2alarmstatus = lasth2alarmstatus;
    }

    /**
     * 获取最近一次温度报警状态：0正常 1预警 2报警
     *
     * @return lasto2alarmstatus - 最近一次温度报警状态：0正常 1预警 2报警
     */
    public Integer getLasto2alarmstatus() {
        return lasto2alarmstatus;
    }

    /**
     * 设置最近一次温度报警状态：0正常 1预警 2报警
     *
     * @param lasto2alarmstatus 最近一次温度报警状态：0正常 1预警 2报警
     */
    public void setLasto2alarmstatus(Integer lasto2alarmstatus) {
        this.lasto2alarmstatus = lasto2alarmstatus;
    }

    /**
     * 获取最近一次温度报警状态：0正常 1预警 2报警
     *
     * @return lastn2alarmstatus - 最近一次温度报警状态：0正常 1预警 2报警
     */
    public Integer getLastn2alarmstatus() {
        return lastn2alarmstatus;
    }

    /**
     * 设置最近一次温度报警状态：0正常 1预警 2报警
     *
     * @param lastn2alarmstatus 最近一次温度报警状态：0正常 1预警 2报警
     */
    public void setLastn2alarmstatus(Integer lastn2alarmstatus) {
        this.lastn2alarmstatus = lastn2alarmstatus;
    }

    /**
     * 获取最近一次温度报警状态：0正常 1预警 2报警
     *
     * @return lastch4alarmstatus - 最近一次温度报警状态：0正常 1预警 2报警
     */
    public Integer getLastch4alarmstatus() {
        return lastch4alarmstatus;
    }

    /**
     * 设置最近一次温度报警状态：0正常 1预警 2报警
     *
     * @param lastch4alarmstatus 最近一次温度报警状态：0正常 1预警 2报警
     */
    public void setLastch4alarmstatus(Integer lastch4alarmstatus) {
        this.lastch4alarmstatus = lastch4alarmstatus;
    }

    /**
     * 获取最近一次温度报警状态：0正常 1预警 2报警
     *
     * @return lastc2h2alarmstatus - 最近一次温度报警状态：0正常 1预警 2报警
     */
    public Integer getLastc2h2alarmstatus() {
        return lastc2h2alarmstatus;
    }

    /**
     * 设置最近一次温度报警状态：0正常 1预警 2报警
     *
     * @param lastc2h2alarmstatus 最近一次温度报警状态：0正常 1预警 2报警
     */
    public void setLastc2h2alarmstatus(Integer lastc2h2alarmstatus) {
        this.lastc2h2alarmstatus = lastc2h2alarmstatus;
    }

    /**
     * 获取最近一次温度报警状态：0正常 1预警 2报警
     *
     * @return lastc2h4alarmstatus - 最近一次温度报警状态：0正常 1预警 2报警
     */
    public Integer getLastc2h4alarmstatus() {
        return lastc2h4alarmstatus;
    }

    /**
     * 设置最近一次温度报警状态：0正常 1预警 2报警
     *
     * @param lastc2h4alarmstatus 最近一次温度报警状态：0正常 1预警 2报警
     */
    public void setLastc2h4alarmstatus(Integer lastc2h4alarmstatus) {
        this.lastc2h4alarmstatus = lastc2h4alarmstatus;
    }

    /**
     * @return lastc2h6alarmstatus
     */
    public Integer getLastc2h6alarmstatus() {
        return lastc2h6alarmstatus;
    }

    /**
     * @param lastc2h6alarmstatus
     */
    public void setLastc2h6alarmstatus(Integer lastc2h6alarmstatus) {
        this.lastc2h6alarmstatus = lastc2h6alarmstatus;
    }

    /**
     * @return lastcoalarmstatus
     */
    public Integer getLastcoalarmstatus() {
        return lastcoalarmstatus;
    }

    /**
     * @param lastcoalarmstatus
     */
    public void setLastcoalarmstatus(Integer lastcoalarmstatus) {
        this.lastcoalarmstatus = lastcoalarmstatus;
    }

    /**
     * 获取最近一次温度报警状态：0正常 1预警 2报警
     *
     * @return lastco2alarmstatus - 最近一次温度报警状态：0正常 1预警 2报警
     */
    public Integer getLastco2alarmstatus() {
        return lastco2alarmstatus;
    }

    /**
     * 设置最近一次温度报警状态：0正常 1预警 2报警
     *
     * @param lastco2alarmstatus 最近一次温度报警状态：0正常 1预警 2报警
     */
    public void setLastco2alarmstatus(Integer lastco2alarmstatus) {
        this.lastco2alarmstatus = lastco2alarmstatus;
    }

    /**
     * @return lasttothydalarmstatus
     */
    public Integer getLasttothydalarmstatus() {
        return lasttothydalarmstatus;
    }

    /**
     * @param lasttothydalarmstatus
     */
    public void setLasttothydalarmstatus(Integer lasttothydalarmstatus) {
        this.lasttothydalarmstatus = lasttothydalarmstatus;
    }

    /**
     * @return memo
     */
    public String getMemo() {
        return memo;
    }

    /**
     * @param memo
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 获取字段的显示和隐藏
     *
     * @return style - 字段的显示和隐藏
     */
    public String getStyle() {
        return style;
    }

    /**
     * 设置字段的显示和隐藏
     *
     * @param style 字段的显示和隐藏
     */
    public void setStyle(String style) {
        this.style = style;
    }

    /**
     * 获取否是投运
     *
     * @return inuse - 否是投运
     */
    public Integer getInuse() {
        return inuse;
    }

    /**
     * 设置否是投运
     *
     * @param inuse 否是投运
     */
    public void setInuse(Integer inuse) {
        this.inuse = inuse;
    }
}